package com.example.go.user;

import com.example.jk.core.Context;
import com.example.jk.core.Log;
import com.example.jk.core.Next;

public class UserService {
	public User getUser(Context context,Next next) {
		// 模拟获取用户逻辑

		Log.info("Getting user");

		User user = new User("1", "sss");
		context.data = user;
		return user;
	}

	public void addUser(Context context,Next next) {
		User user = null;
		// 模拟添加用户逻辑
		Log.info("Adding user: " + user.getName());

	}
}
